TbdexHttpServerConfig

class TbdexHttpServerConfig(    val port: Int,     val pfiDid: String? = null,     val offeringsApi: OfferingsApi? = null,     val exchangesApi: ExchangesApi? = null,     val balancesApi: BalancesApi? = null)

Configuration data for TBDex HTTP server.

Constructors

Link copied to clipboard
constructor(port: Int, pfiDid: String? = null, offeringsApi: OfferingsApi? = null, exchangesApi: ExchangesApi? = null, balancesApi: BalancesApi? = null)

Properties

Link copied to clipboard

A BalancesApi implementation to use. If not provided, Balances API will be disabled. For testing, consumers must explicitly pass in FakeBalancesApi.

Link copied to clipboard

A ExchangesApi implementation to use. If not provided, a FakeExchangesApi will be used.

Link copied to clipboard

A OfferingsApi implementation to use. If not provided, a FakeOfferingsApi will be used.

Link copied to clipboard
val pfiDid: String? = null
Link copied to clipboard
val port: Int

The port on which the server will listen.